/* pages/my/my.wxss */
.container {
  width: 100%;
  height: 100vh;
}
.head{
  width: 100%;
}
.head .pre{
  position: absolute;    
  left: 5%;
  width: 59rpx;
  height: 59rpx;
}
.head .pre image{
  width: 100%;
  height: 100%;
}
.head-box{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 14%;
  .head-status{
    font-size: 16rpx;
    background: #32A9F5;
    padding: 0 16rpx;
    height: 40rpx;
    display: flex;
    align-items: center;
    color: #fff;
    border-radius: 20rpx;

    &.not{
      background: #474747;
    }
  }
}
.avatar-wrapper {
  padding: 0;
  width: 56px !important;
  border-radius: 8px;
  border-radius: 50%;
  margin-bottom: 8px;
  .avatar {
    display: block;
    width: 56px;
    height: 56px;
  }
}

.head-login{
  color: #6D6D6D;
  background-color: white;
  border-radius: 36rpx;
  padding: 8rpx 36rpx;
  font-size: 36rpx;
}
.head-name{
  padding: 8rpx 36rpx;
  font-size: 32rpx;
  color: white;
}
.head-name2{
  padding: 0rpx 36rpx;
  font-size: 28rpx;
  color: #a7a7a7;
  padding: 4rpx 30rpx;
  border-radius: 25rpx;
  background-color: white;
}

/* 任务列表 */
.tagsScroll {
  display: flex;
  white-space: nowrap;
  padding: 0rpx 40rpx;
  margin-top: 20rpx;
  border-bottom: 1rpx solid #D8D8D8;

  .tag-btn {
    flex:1;
    line-height: 80rpx;
    margin-right: 40rpx;
    font-weight: bold;
    color: #8A8A8A;
    position: relative;
    text-align: center;
  }

  .active {
    color: #FF7C8A;
  }

  .active::after {
    content: "";
    width: 100%;
    height: 8rpx;
    color: #FF7C8A;
    background-color: #FF7C8A;
    position: absolute;
    bottom: 0rpx;
    left: 0rpx;
  }
}

/* 资料 */
.person{
  margin-top: 150rpx;
  padding: 0 30rpx 0 50rpx;

  .hello{
    font-size: 52rpx;
    color: #fff;
  }

  .morning{
    display: flex;
  }

  .text{
    padding: 0 10rpx 0 0;
  }
}

.form{
  margin: 40rpx 60rpx 0 52rpx;
  .item{
    height: 80rpx;
    background: #fff;
    border-radius: 12rpx;
    border: 1px solid #C9C9C9;
    margin-bottom: 22rpx;
    padding: 0 32rpx;
    display: flex;
    align-items: center;
    font-size: 28rpx;

    &.item-upload{
      display: block;
      height: auto;
      min-height: 80rpx;
      .title{
        flex: 1;
        height: 80rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .tip{
          font-size: 16rpx;
          color: #aaa;
          display: flex;
          justify-content: center;
          align-items: center;
          image{
            width: 15rpx;
            height: 16rpx;
            margin-right: 10rpx;
          }
        }
      }
      .images{
        display: flex;
        gap: 24rpx;
        .image{
          image{
            width: 132rpx;
            height: 136rpx;
            border-radius: 8rpx;
            background: #EDEDED;
          }
          .del{
            font-size: 16rpx;
            color: #AAAAAA;
            text-align: center;
            padding: 8rpx 0;
          }
        }
        .upload{
          .icon{
            width: 132rpx;
            height: 136rpx;
            border-radius: 8rpx;
            border: 1px #D4D4D4 solid;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
          }
          .tip{
            font-size: 16rpx;
            color: #AAAAAA;
            text-align: center;
            padding: 8rpx 0;
          }
          image{
            width: 35rpx;
            height: 30rpx;
          }
        }
      }
    }

    .text{
      color: #474747;
    }
    input{
      width: 100%;
      font-size: 28rpx;
    }
    .icon{
      height: 100%;
      white-space: nowrap;
      color: #32A9F5;
      display: flex;
      align-items: center;
      image{
        width: 16rpx;
        height: 16rpx;
        margin-left: 10rpx;
      }
    }
  }
  .isSubmit{
    width: 480rpx;
    height: 100rpx;
    margin: 40rpx auto 0;
    .button{
      width: 100%;
      height: 100%;
      background: none;
      color: #fff;
      border: 0;
      font-size: 32rpx;
      background: #32A9F5;
      border-radius: 50rpx;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}


.mask{
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  opacity: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99;
  transition: opacity 0.15s linear;
  pointer-events: none;

  &.show{
    opacity: 1;
  }
}

.picker{
  position: fixed;
  left: 0;
  width: 100vw;
  height: 400rpx;
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  opacity: 0;
  bottom: -1000rpx;
  transition: bottom 0.3s linear, opacity 0.2s linear;
  z-index: 100;

  &.show{
    opacity: 1;
    bottom: 120rpx;
  }

  .btn-group{
    width: 100%;
    height: 80rpx;
    display: flex;
    justify-content: space-between;
    padding: 0 43rpx;
    line-height: 80rpx;
    background: #fafafa;
  }
  .picker-view{
    width: 100%;
    height: 320rpx;
    box-sizing: border-box;
    padding: 0 50rpx;

    .item{
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}
